<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户登录</title>

    <link rel="stylesheet" href="static/css/btn.css">
    <script src="static/js/btn.js"></script>

</head>
<body>
    <form action="/user/login" method="post" onsubmit="return checkForm()">
        <h2>用户登录</h2>
        <div class="form-group">
            <label for="username">用户名：</label>
            <input type="text" id="username" name="username" onblur="checkUsername()">
            <span id="usernameError" ></span>
        </div>

        <div class="form-group">
            <label for="password">密码：</label>
            <input type="password" id="password" name="password" onblur="checkPassword()">
            <span id="passwordError" ></span>
        </div>

        <input type="submit" value="登录">
        <input type="reset" value="重置" >
        <button class="btn1" ><a href="register.html">注册</a></button>
    </form>
</body>
</html>